exports.mysql = {
    host: '127.0.0.1',
    port: 3306,
    user: 'root',
    password: 'root',
    database: 'nodejs'
};

exports.redis = {
    host: '192.168.199.55',
    port: 6379,
    opts: { auth_pass: '' }
};
exports.redisSentinel = {
    host: '192.168.199.55',
    port: 26379,
    opts: { auth_pass: '' }
};

exports.app = {
    port : 8081
};


global.result = {
    error : {"code" : -1, message: "系统异常"},
    notLogin : {"code" : -400, message: "没有登录"}
};